const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({
         orderId:options.orderId
    })
    this.loadOrder()
  },
  loadOrder:function(){
       let that=this
       var data={'orderId':this.data.orderId}
       var promise = app.synPostData('order/findOne', data)
       promise.then(function (res) {
            that.setData({
                 order: res.data.result
            })
       });
  }

 

 
})